/**
 * Created by Jackl on 2018/7/13.
 */

import { ComponentProps, AbstractComponent} from "../../component";

export class Input extends AbstractComponent{
    static ComponentKey = "Input";
    static ComponentName = "文本输入框";

    template: JQLite;

    constructor(props?: ComponentProps){
        super();
        this.componentKey = Input.ComponentKey;

        props = props　||{
            componentKey: this.componentKey,
            title: Input.ComponentName
        };
        this.componentProps = props;
    }

}
